#include <iostream>
#include <stdexcept>
#include <typeinfo>

#include "vector.h"

using namespace std;
int main() {
	vector<double> v;
	v = vector<double>(1, 2.);
	v = vector<double>(v);
	cerr << v[0] << endl;
	vector<double> vv(20, 21);
	cerr << vv[2] << "must 21" << endl;
	v.size();
	v = vv;
	cerr << v[0] << " " << vv[0] << endl;
	++v[0];
	--vv[0];
	cerr << v[0] << " " << vv[0] << endl;
	v = vector<double> (20, 20);
	vector<int> *ve = new vector<int> (0);
	ve->push_back(10);
	delete ve;

	return 0;
}
